<template>
	<view><im-userInfo :agree_model='agree_model' ref="userInfoItem" showBack></im-userInfo></view>
</template>

<script>
export default {
	name: 'friendInfo',
	data() {
		return {
			navbarText: '资料',
			userAccountNum: '',
			agree_model: false
		};
	},
	onReady() {
		if (this.userAccountNum && this.userAccountNum !== '') {
			this.$refs.userInfoItem.setAccountNum(this.userAccountNum);
		}
	},
	onLoad(option) {
		debugger
		if (option.agree_model) {
			this.agree_model = true;
		} else {
			this.agree_model = false;
		}
		this.userAccountNum = option.userAccountNum;
	},
	methods: {}
};
</script>

<style scoped>
.container {
	background-color: #8080803d;
}
</style>
